import { getActivePinia } from 'pinia';

function reset_pinia_stores() {
  const pinia = getActivePinia();
  // @ts-expect-error fuck pinia
  pinia?._s.forEach((store) => store.$reset());
}

export { reset_pinia_stores };
